home *** CD-ROM | disk | FTP | other *** search
- /* program.c */
-
- #include <stdio.h>
-
- /* define prototypes for the functions */
- void print(char);
- int count(void);
-
- int main()
- {
- int i;
-
- printf("This is an example of the print() function:\n");
- print('@');
- printf("\n\n");
-
- for(i=0;i<5;i++)
- printf("count() has been called %d times previously\n",count());
- }
-